const env = import.meta.env.MODE || 'development'

const EnvConfig = {
  development: {
    baseApi: '/api',
    mockApi: 'https://apifoxmock.com/m1/4068509-0-default/api'
  },
  prod: {
    baseApi: '/prodApi',
    mockApi: 'http://localhost:3000'
  }
}

export default {
  env,
  ...EnvConfig[env],
  mock: false
}
